package com.opencloud.ywt.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.opencloud.common.model.PageParams;
import com.opencloud.ywt.client.model.entity.*;

import java.util.List;

public interface BhyfAngleService {
    IPage<BhyfXhbAngleIntersection> findXhbAngleIntersectionList(int personid,int angleid, int count,String startTime,String endTime);

    IPage<BhyfXhbAngleIntersectionClass> findXhbAngleIntersectionClassList(int classid,int angleid, int count,String startTime,String endTime);

    List<BhyfXhbAngleClass> findXhbAngleClassList(int classid, int angleid,String startTime,String endTime);

    List<BhyfXhbAnglePerson> findXhbAnglePersonList(int classid,int personid, int angleid,String startTime,String endTime);

    List<BhyfXhbAngleRecord> findXhbAngleRecordList(int classid,int personid,int angleid,String startTime,String endTime);

    IPage<BhyfXhbAngleObservRecord> findXhbAngleObservRecordList(PageParams pageParams,String startTime,String endTime);

    void updateBhyfXhbAngleObservRecord(BhyfXhbAngleObservRecord entiy);

    BhyfXhbAngleObservRecord addBhyfXhbAngleObservRecord(BhyfXhbAngleObservRecord entiy);

    BhyfXhbAngleObservRecord findRecordInfoById(int id);

    List<BhyfXhbAngleRecordTongJiResult> getAngleRecordTongJi(int gid,int classid,String checkdate);

    List<BhyfXhbAngleRecordTongJiPerson> getAngleRecordPersonTongJi(int gid,int classid,String checkdate);

    BhyfXhbGoods addBhyfXhbGoods(BhyfXhbGoods entiy);

    BhyfXhbAngleGoods addBhyfXhbAngleGoods(BhyfXhbAngleGoods entiy);

    void updateBhyfXhbAngleGoods(BhyfXhbAngleGoods entiy);

    void updateBhyfXhbGoods(BhyfXhbGoods entiy);

    void deleteBhyfXhbGoods(Integer id);

    IPage<BhyfXhbGoods> findBhyfXhbGoodsListPage(PageParams pageParams);

    IPage<BhyfXhbAngleGoods> findBhyfXhbAngleGoodsListPage(PageParams pageParams);

    BhyfXhbGoods findBhyfXhbGoodsById(Integer id);

    BhyfXhbAngleGoods findBhyfXhbAngleGoodsById(Integer id);

    BhyfXhbAngleObservRecord findXhbAngleObservRecordById(Integer id);

    List<BhyfXhbAngleMachine> getAngleMachineList(int gid,int classid,int angleid);

    List<BhyfXhbAngleGoodsOrder> getXhbAngleGoodsOrderList(int gid,int classid,int angleid,int personid,String startTime,String endTime);

    void deleteBhyfXhbAngleObservRecord(Integer id);

    List<BhyfXhbAnglePersonCount> getAnglePersonCountAndSecondsTongji(int gid,int classid,String startTime,String endTime);

    BhyfXhbAngleGoodsRecord addBhyfXhbAngleGoodsRecord(BhyfXhbAngleGoodsRecord entiy);

    List<BhyfXhbAngleGoodsResult> getBhyfXhbAngleGoodsResultList(int gid,int classid,int angleid);

    List<BhyfXhbAngleGoods> IsExistAngleGoods(int angleid,int classid,String goodsno,String mac);

    String getAngleNames(int gid, int classid, int personid, String checkdate);

    List<BhyfXhbAnglePlayGoodsResult> getAngleGoodsPlayResult(int gid,int classid,String startdate,String enddate);

    List<BhyfXhbAnglePlayResult> getAngleRecordPlayResult(int gid,int classid,String startdate,String enddate);

    List<BhyfXhbAngleRecordTongJiPerson> getRealtimeAngleRecordPersonTongJi(int gid,int classid,String checkdate);

    List<BhyfXhbAngleRecordServicemake> findRealtimeXhbAngleRecordList(int classid,int personid,int angleid,String startTime,String endTime);

    List<BhyfXhbAnglePerson> GetBhfyXhbAnglePersonListByService(int classid,int personid,int angleid,String startTime,String endTime);

    List<BhyfXhbAngleClass> GetBhfyXhbAngleClassListByService(int classid,int angleid,String startTime,String endTime);

    List<BhyfXhbAngleRecordTongJiPerson> GetAnglePersonTongjiByService(int gid,int classid,String startTime,String endTime);

}
